package edu.lingnan.ebusiness.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈世杰
 * @since 2022-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 登录邮箱
     */
    private String userEmail;

    /**
     * 加密后密码
     */
    private String password;

    /**
     * 电话
     */
    private String tel;

    private String createUser;

    private String modifyUser;

    private LocalDateTime createTime;

    private LocalDateTime modifyTime;

    /**
     * 0是删除，1是没删除
     */
    private Integer isDelete;

    /**
     * 盐
     */
    private String salt;


}
